package cn.xo68.ide.plugin.common.message;

import com.intellij.util.messages.Topic;

@FunctionalInterface
public interface StatusListener {
  Topic<StatusListener> STATUS_TOPIC = Topic.create("WxToolSuiteStatus", StatusListener.class);

  /**
   * Called when the status of the user-initiated analysis changes.
   */
  void changed(Status newStatus);
}
